package com.itheima.service.mongo;

import com.itheima.vo.PageBeanVo;

/**
 * @author Guanxing
 * @date 2021/9/28
 */
public interface UserLikeService {

    //保存喜欢
    void saveUserLike(Long loginUserId, Long userLikeId);

    boolean isUserLike(Long loginUserId, Long userLikeId);

    //取消喜欢
    void deleteUserLike(Long loginUserId, Long likeUserId);

    //查询互相喜欢
    Long findEachLoveCount(Long loginUserId);

    //查询我的喜欢
    Long findLoveCount(Long loginUserId);

    //查询粉丝
    Long findFanCount(Long loginUserId);

    //查询 互相喜欢，喜欢，粉丝 访客 数据
    PageBeanVo findUserInfoByType(Integer pageNum, Integer pageSize, String type,Long loginUserId);
}
